inspector: Don't flash the window initially
authorMatthias Clasen <mclasen@redhat.com>
Fri, 9 May 2014 00:31:50 +0000 (20:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 11 May 2014 02:04:26 +0000 (22:04 -0400)
This is flickery, and not really necessary.

modules/inspector/window.c

index 898afdaca354e211ba4991b8fa7eb1968f3eee3f..04790b26cc854597afeb860bed581ee4b430403c 100644 (file)
@@ -156,10 +156,7 @@ gtk_inspector_window_select_initially (GtkInspectorWindow *iw)
   g_list_free (toplevels);
 
   if (widget)
-    {
-      gtk_inspector_widget_tree_scan (GTK_INSPECTOR_WIDGET_TREE (iw->widget_tree), widget);
-      gtk_inspector_widget_tree_select_object (GTK_INSPECTOR_WIDGET_TREE (iw->widget_tree), G_OBJECT (widget));
-    }
+    gtk_inspector_widget_tree_scan (GTK_INSPECTOR_WIDGET_TREE (iw->widget_tree), widget);
 }
 
 static void